package org.csu.wuliu.persistence;

import org.csu.wuliu.domain.Admin;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface AdminMapper {
    Admin getAdminByAdminId(String adminId);
    Admin getAdminByAdminIdAndPassword(Admin admin);
    void insertAdmin(Admin admin);
    void updateAdmin(Admin admin);
    void deleteAdmin(Admin admin);
    List<Admin> getAdminList();
}
